//
//  ConsumerListCell.h
//  XiaoMiao
//
//  Created by kinglian_iOS_000 on 2018/1/22.
//  Copyright © 2018年 smallyou. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ConsumerListCell;
@class ConsumerModel;

typedef NS_ENUM(NSUInteger, ConsumerListCellTapType) {
    ConsumerListCellTapTypeSelf,    // 点击cell
    ConsumerListCellTapTypePhoto,   // 查看图库
    ConsumerListCellTapTypeInfo,    // 查看资料
};

@protocol ConsumerListCellDelegate <NSObject>

@optional
- (void)consumerListCell:(ConsumerListCell *)consumerListCell didTapType:(ConsumerListCellTapType)tapType;

@end

@interface ConsumerListCell : UITableViewCell

/** <#Description#> */
@property (nonatomic, weak) id<ConsumerListCellDelegate> delegate;

/** <#Description#> */
@property (nonatomic, assign) BOOL isSearchType;

/** <#属性#> */
@property (nonatomic, strong) ConsumerModel *consumerModel;


// 头像点击回调
@property (nonatomic ,copy) void(^avatarClickBlock)(ConsumerModel * model);

+ (CGFloat)cellHeight;
+ (NSString *)cellId;

@end
